/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package cn.zzdt4j.common.constant;

/**
 * Constants.
 *
 * @author by <a href="mailto:ligang941012@gmail.com">gang.Li</a>
 * @since 2023/10/20 13:15
 */
public class Constants {
    public static final String EMTY_STRING = "";
    public static final long EXECUTE_TIME_OUT = 10000L;
    public static final String GROUP_KEY_DELIMITER = "+";
    public static final String IDENTIFY_SLICER_SYMBOL = "_";
    public static final String LINE_SEPARATOR = Character.toString((char) 1);
    public static final String GROUP_KEY_DELIMITER_TRANSLATION = "\\+";
    public static final long EVICTION_INTERVAL_TIMER_IN_MS = 60 * 1000;
    public static final int SCHEDULED_THREAD_CORE_NUM = 1;
    public static final String LONG_POLLING_LINE_SEPARATOR = "\r\n";
    public static final String WORD_SEPARATOR = Character.toString((char) 2);
    public static final String NULL = "";
    public static final long NO_REJECT_COUNT_NUM = -1L;
    public static final int MAP_INITIAL_CAPACITY = 16;
    public static final String BASE_PATH = "/zzdt4j/v1/cs";
    public static final String CONFIG_CONTROLLER_PATH = BASE_PATH + "/configs";
    public static final String AUTHORITIES_KEY = "auth";
    public static final String ACCESS_TOKEN = "accessToken";
    public static final String ADMIN_USER = "admin";
    public static final String ENCODE = "UTF-8";
    public static final String CONTENT_TYPE = "Content-Type";
}
